package com.holly.unit.system.integration.modular.system.log;

import com.holly.unit.scanner.api.annotation.ApiResource;
import com.holly.unit.scanner.api.annotation.GetResource;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;

/**
 * 业务日志视图控制器
 *
 * @author holly
 * @date 2021/1/13 19:45
 */
@Controller
@ApiResource(name = "操作日志管理相关的界面渲染")
@Api(tags = "操作日志管理相关的界面渲染")
public class LogViewController {

    /**
     * 操作日志管理列表
     *
     * @author TSQ
     * @date 2021/1/5 15:18
     */
    @ApiOperation(value = "操作日志管理列表" ,notes = "操作日志管理列表")
    @GetResource(name = "操作日志管理列表", path = "/view/log")
    public String indexView() {
        return "/modular/system/log/log.html";
    }

    /**
     * 业务日志详情-视图
     *
     * @author holly
     * @date 2021/1/13 19:45
     */
    @ApiOperation(value = "业务日志详情-视图" ,notes = "业务日志详情-视图")
    @GetResource(name = "业务日志详情-视图", path = "/view/log/detailView")
    public String detailView() {
        return "/modular/system/log/log_detail.html";
    }

}
